// JavaScript Document
function makeScrollableTablePro(tbl,scrollFooter,height,hasSetRowCheck){
     this.tbl=tbl;
     this.scrollFooter=scrollFooter;
     this.height=height;
     this.hasSetRowCheck=hasSetRowCheck;
}

makeScrollableTablePro.prototype.makeScrollableTable =function(){
   if (!this.hasDivInHead()){
      makeScrollableTable(this.tbl,this.scrollFooter,this.height,this.hasSetRowCheck)
   }
}
makeScrollableTablePro.prototype.hasDivInHead=function(){
    var head= $("#tablea").get(0).getElementsByTagName('th');
    var div=$(head[0].getElementsByTagName("div"));
    if (div.length>0){
      return true;
    }else{
       return false;
    }
}
